export default {
  // 开启命名空间
  namespaced: true,

  // 数据
  state: () => ({
    countdown: uni.getStorageSync('countdown') || [],
   
  }),

  // 方法
  mutations: {
    updatecountdown(state, countdown) {
      state.countdown = countdown
      this.commit('m_count/savecountdownToStorage')
    },
    savecountdownToStorage(state) {
      uni.setStorageSync('countdown', state.countdown)
    },
    
  },
}